package Test;

public class Main {
    public static void main(String[] args) {
        int x = 2;
        System.out.println((x++)/3);
        System.out.println(0xC5);

        A a1 = new A();
        a1.print1();
        a1.print2(1);

        B b1 = new B();
        b1.print1();
        b1.print2(1);

        System.out.println("--------------------");

        System.out.println(a1);
        System.out.println(a1.toString());

        System.out.println("---------------------");
        Student s1 = new Student("米塔", 20);
        System.out.println(s1);
        System.out.println(s1.toString());

        System.out.println("----------------------");
        B b2 = new B();
        b2.test();
    }
}
